-- GENERATED SPELL FOR [Deathshadow Hound] --


function spell0_22394(pUnit, Event) --@Carnivorous Bite,n/a--
pUnit:FullCastSpellOnTarget(30639,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22394', 15000, 1)
end

function Sorts_22394(pUnit, Event)
local choix_sorts_22394 = math.random(0, 0)
if choix_sorts_22394 == 0 then
pUnit:RegisterEvent('spell0_22394', 1, 1)
end
end

function mob22394_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22394', math.random(1500, 3000), 1)
end

function mob22394_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22394_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22394_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22394, 1, 'mob22394_Action')
RegisterUnitEvent(22394, 2, 'mob22394_Leave')
RegisterUnitEvent(22394, 3, 'mob22394_Kill')
RegisterUnitEvent(22394, 4, 'mob22394_Die')
